import request from "../utils/request"

export const getAreaList = (data) => request.get('/parking/area/list', { params: data })
export const getDropListAPI = () => request.get('/parking/area/dropList')
export const addArea = (data) => request.post('/parking/area', data)
export const editArea = (data) => request.put('/parking/area', data)
export const getAreaDetailAPI = (id) => request.get(`/parking/area/${id}`)
export const delArea = (id) => request.delete(`/parking/area/${id}`)
